home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 4 / FM Towns Free Software Collection 4 - Disc 1.iso / t_os / whisper / source / wind.h < prev   
Encoding:
C/C++ Source or Header  |  1991-10-19  |  445 b   |  25 lines

  1. #define    CHILD_MAX    5
  2.  
  3. typedef struct _CP {
  4.     short    cur_x,cur_y;
  5.     int        lin_max;
  6.     int        lin_pos;
  7.     int        top_ptr;
  8.     int        now_ptr;
  9.     char    bak_cod;
  10.     char    pas_flg;
  11.     char    sec_flg;
  12.     char    wrt_flg;
  13.     char    *file_name;
  14. } CHI_PTR;
  15.  
  16. typedef struct {
  17.     short    open_flg;
  18.     short    ins_mode;
  19.     short    wrt_mode;
  20.     short    color;
  21.     short    wind_y,size_y,max_y;
  22.     short    now;
  23.     CHI_PTR    child[CHILD_MAX];
  24. } WIND;
  25.